﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>x-auth管理</title>
<link href="styles/dwz/themes/default/style.css" rel="stylesheet"
	type="text/css" media="screen" />
<link href="styles/dwz/themes/css/core.css" rel="stylesheet" type="text/css"
	media="screen" />
<link href="styles/dwz/themes/css/print.css" rel="stylesheet" type="text/css"
	media="print" />
<!--[if IE]>
<link href="styles/dwz/themes/css/ieHack.css" rel="stylesheet" type="text/css" media="screen"/>
<![endif]-->

<!--[if lte IE 9]>
<script src="styles/dwz/js/speedup.js" type="text/javascript"></script>
<![endif]-->

<script src="styles/dwz/js/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="styles/dwz/js/jquery.validate.min.js" type="text/javascript"></script>

<!-- 可以用dwz.min.js替换前面全部dwz.*.js (注意：替换是下面dwz.regional.zh.js还需要引入)
-->
<script src="styles/dwz/js/dwz.min.js" type="text/javascript"></script>
<script src="styles/dwz/js/dwz.regional.zh.js" type="text/javascript"></script>
<script type="text/javascript">
	    var path = '${CONTEXT_PATH}';
</script>
<script type="text/javascript">
	$(function() {
		DWZ.init("styles/dwz/dwz.frag.xml", {
			loginUrl : path,
			statusCode : {
				ok : 200,
				error : 300,
				timeout : 301
			}, //【可选】
			debug : false, // 调试模式 【true|false】
			callback : function() {
				initEnv();
				$("#themeList").theme({
					themeBase : "styles/dwz/themes"
				}); // themeBase 相对于index页面的主题base路径
			}
		});
	});
	function logonOut() {
		//var close = confirm("确定退出？");
		alertMsg.confirm("确定退出？", {
			okCall : function() {
				//if ($.browser.msie) {
					//window.location.href = "../logonOut";
				//} else {
					window.location.href = "logonOut";
				//}
			}
		});
	}
</script>
</head>

<body scroll="no">
	<div id="layout">
		<div id="header">
			<div class="headerNav">
				<a class="logo" href="#" style="background: url(/images/logo.png) no-repeat;">标志</a>
				<ul class="nav">
					<li><a href="sysUser/resetData" target="dialog" rel="systemUser">整理数据</a></li>
					<li><a style="text-decoration : none;">当前用户：${session["loginUser"].username}</a></li>
					<li><a href="javascript:void(0);" onclick="logonOut()">退出</a></li>
				</ul>
				<ul class="themeList" id="themeList">
					<li theme="default"><div class="selected">蓝色</div></li>
					<li theme="green"><div>绿色</div></li>
					<!--<li theme="red"><div>红色</div></li>-->
					<li theme="purple"><div>紫色</div></li>
					<li theme="silver"><div>银色</div></li>
					<li theme="azure"><div>天蓝</div></li>
				</ul>
			</div>
			
		</div>

		<div id="leftside">
			<div id="sidebar_s">
				<div class="collapse">
					<div class="toggleCollapse">
						<div></div>
					</div>
				</div>
			</div>
			<div id="sidebar">
				<div class="toggleCollapse">
					<h2>主菜单</h2>
					<div>收缩</div>
				</div>

				<div class="accordion" fillSpace="sidebar">
					<div class="accordionHeader">
						<h2>
							<span>Folder</span>系统管理
						</h2>
					</div>
					<div class="accordionContent">
						<ul class="tree treeFolder">
							<li><a href="appList" target="navTab" rel="app">应用管理</a></li>
							<#if 0 == session["loginUser"].type>
								<li><a href="staff/staffInfoList_app" target="navTab" rel="staff">用户授权管理</a></li>
								<li><a href="group/groupList" target="navTab" rel="group" fresh="false">用户组管理</a></li>
								<li><a href="dataC/dataCol" target="navTab" rel="info" fresh="false">数据管理</a></li>
								<li><a href="action/actionColList}" target="navTab" rel="action"
									fresh="false">动作管理</a></li> 
							</#if>
							<#if 1 ==session["loginUser"].type>
								<li><a href="appC/appList" target="navTab" rel="app">应用管理</a></li>
								<li><a href="sysUser/userList" target="navTab" rel="systemUser">账号管理</a></li>
								<li><a href="staff/staffInfoList" target="navTab" rel="staff">用户管理</a></li>
							</#if>

						</ul>
					</div>
					<!-- <div class="accordionHeader">
						<h2><span>Folder</span>JFinal Demo</h2>
					</div>
					<div class="accordionContent">
						<ul class="tree treeFolder">
							<li><a href="area/upload.html" target="navTab" rel="upload" fresh="false">用户管理</a></li>
							<li><a href="area/appList" target="navTab" rel="">应用管理</a></li>
						</ul>
					</div> -->
				</div>

			</div>
		</div>
		<div id="container">
			<div id="navTab" class="tabsPage">
				<div class="tabsPageHeader">
					<div class="tabsPageHeaderContent">
						<!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
						<ul class="navTab-tab">
						</ul>
					</div>
					<div class="tabsLeft">left</div>
					<!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
					<div class="tabsRight">right</div>
					<!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
					<div class="tabsMore">more</div>
				</div>
				<ul class="tabsMoreList">
				</ul>
				<div class="navTab-panel tabsPageContent layoutBox"></div>
			</div>
		</div>

	</div>

	<div id="footer">
		Copyright &copy; 2014 开发者【liuh】版权所有
	</div>
</body>
</html>